﻿using Castle.Core.Resource;
using Castle.Windsor;
using Castle.Windsor.Configuration.Interpreters;

namespace Driven.ProcessScheduler.Test
{
    public class TestBase
    {
        IWindsorContainer _container;

        protected IWindsorContainer Windsor
        {
            get { return _container; }
            set { _container = value; }
        }

        public TestBase()
        {
            Windsor = new WindsorContainer(new XmlInterpreter(new ConfigResource("castle")));
        }
    }
}